package com.ly.heart.domain;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-业务组类型对象 erp_king_base_business_group_info
 *
 * @author cxl
 * @date 2024-06-20
 */
@TableName ( "erp_king_base_business_group_info" )
@ApiModel ( value = "金蝶-业务组类型", description = "金蝶-业务组类型" )
@Data
public class KingBaseBusinessGroupEntity extends BaseVo {

    @TableId ( value = "id", type = IdType.INPUT )
    private String id;


    @ApiModelProperty ( "单据编号" )
    @TableField ( "doc_code" )
    @Excel ( name = "单据编号" )
    private String docCode;
    @ApiModelProperty ( "业务组  XSZ:销售组;KCZ:库存组;JHZ:计划组;CGZ:采购组;ZJZ:质检组" )
    @TableField ( "business_group_type" )
    @Excel ( name = "业务组" )
    private String businessGroupType;

    @ApiModelProperty ( "描述" )
    @TableField ( "desc_info" )
    @Excel ( name = "描述" )
    private String descInfo;

    @ApiModelProperty ( "创建人Id" )
    @TableField ( "user_id" )
    @Excel ( name = "创建人Id" )
    private String userId;

    @ApiModelProperty ( "修改人Id" )
    @TableField ( "change_id" )
    @Excel ( name = "修改人Id" )
    private String changeId;

    @ApiModelProperty ( "创建时间" )
    @TableField ( "create_time" )
    @JsonFormat ( pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date createTime;

    @ApiModelProperty ( "更新时间" )
    @TableField ( "change_time" )
    @JsonFormat ( pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date changeTime;

    @ApiModelProperty ( "逻辑删除" )
    @TableField ( "is_disabled" )
    @Excel ( name = "逻辑删除" )
    private Integer isDisabled;

    @ApiModelProperty ( "逻辑删除" )
    @TableField ( "is_used" )
    @Excel ( name = "逻辑删除" )
    private Integer isUsed;

    @ApiModelProperty ( "是否可用" )
    @TableField ( "is_del" )
    @Excel ( name = "是否可用" )
    private Integer isDel;

    @ApiModelProperty ( "是否推送金蝶" )
    @TableField ( "is_send" )
    private Integer isSend;

    @ApiModelProperty ( "业务组详细信息" )
    @TableField ( exist = false )
    private List<KingBaseBusinessGroupDetailEntity> businessGroupDetailList;


}
